﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp14
{
    class Bird : Anmial, IFlyable
    {
        public Bird() { 
        
        }

        public Bird(string name):base(name) {
            this.Name = name;
        }
        public void Fly()
        {
            Console.WriteLine("我可以飞的很快");
        }

        public void Land()
        {
            Console.WriteLine("我可以着陆");
        }

        public void takeoff()
        {
            Console.WriteLine("我可以起飞");
        }
        public void LayEggs() {
            Console.WriteLine("我可以下蛋");
        }
    }
}
